//
//  DDShareView.h
//  DingDongZP
//
//  Created by Jyh on 16/3/24.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import "DDMyResumeModel.h"
#import "DDShareModel.h"


typedef enum : NSUInteger {
    
    DDShareTypeWXTimeLine = 100,
    DDShareTypeWeiXinSession,
    DDShareTypeWeiBo,
    DDShareTypeSMS,
    
} DDShareType;

@class DDShareView;

@protocol DDShareViewDelegate <NSObject>

@optional

- (void)shareViewButtonClick:(DDShareType)sharetype;

@end

@interface DDShareView : UIView <MFMessageComposeViewControllerDelegate>

@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet UIView *actionView;
@property (weak, nonatomic) id <DDShareViewDelegate> delegate;

//url,title,

//@property (strong, nonatomic) DDMyResumeModel *sendParamsModel;

/* 参数key值为 "shareTitle",@"shareDesc",@"shareH5",@"shareLogoUrl" */
//#warning
//@property (strong, nonatomic) NSDictionary *sendParams;

@property (strong, nonatomic) DDShareModel *shareModel;



- (void) show;
- (void) dissMiss;


/**
 *  隐藏
 */
- (void)hide;

@end
